package domain.vo;

public class DeptVo extends BaseVo{
    @Override
    public String toString() {
        return String.format("ID：%d，名称：%s，电话：%s", id, name, phone);
    }
    /**
     * 部⻔名称
     */
    public String name;
    /**
     * 联系电话
     */
    public String phone;
    public DeptVo() {
    }
    public DeptVo(int id, String name, String phone) {
        super(id);
        this.name = name;
        this.phone = phone;
    }
}